package com.sk.sk_frame_cloud.degrade;

import com.sk.sk_frame_cloud.feign.UserFeignService;
import com.sk.sk_frame_cloud.param.SysPermissionParam;
import com.sk.sk_frame_cloud.res.CommonResponse;
import org.springframework.stereotype.Component;

/**
 * 用户服务熔断处理
 * @Author jiaok
 * @Date 2024-01-04 16:12
 */
@Component
public class UserDegradeFeignServiceImpl implements UserFeignService {

    @Override
    public CommonResponse userFeignTest() {
        return CommonResponse.error("服务调用失败");
    }
}
